package org.example.librarysystemspringboot.repository;

import org.example.librarysystemspringboot.entity.model.Book;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


public interface BookRepository extends JpaRepository<Book, String> {

    List<Book> findBooksByTypeId(String typeId);
}
